﻿using UnityEngine;
using System.Collections;

public class PauseMenuUI : MonoBehaviour {
	private GameObject PauseMenu;
	public GameObject MainMenu;
	// Use this for initialization
	void Start () {
		PauseMenu = GameObject.Find ("PauseMenu");
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	public void OnClickBackMainMenu ()
	{
		PauseMenu.SetActive (false);
		MainMenu.SetActive (true);
	}



}
